home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGStopElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  92 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGStopElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGStopElement_h__
  6. #define __gen_nsIDOMSVGStopElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMSVGElement_h__
  10. #include "nsIDOMSVGElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMSVGAnimatedNumber; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMSVGStopElement */
  21. #define NS_IDOMSVGSTOPELEMENT_IID_STR "93169940-7663-4eab-af23-94a8a08c2654"
  22.  
  23. #define NS_IDOMSVGSTOPELEMENT_IID \
  24.   {0x93169940, 0x7663, 0x4eab, \
  25.     { 0xaf, 0x23, 0x94, 0xa8, 0xa0, 0x8c, 0x26, 0x54 }}
  26.  
  27. class NS_NO_VTABLE nsIDOMSVGStopElement : public nsIDOMSVGElement {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGSTOPELEMENT_IID)
  31.  
  32.   /* readonly attribute nsIDOMSVGAnimatedNumber offset; */
  33.   NS_IMETHOD GetOffset(nsIDOMSVGAnimatedNumber * *aOffset) = 0;
  34.  
  35. };
  36.  
  37. /* Use this macro when declaring classes that implement this interface. */
  38. #define NS_DECL_NSIDOMSVGSTOPELEMENT \
  39.   NS_IMETHOD GetOffset(nsIDOMSVGAnimatedNumber * *aOffset); 
  40.  
  41. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  42. #define NS_FORWARD_NSIDOMSVGSTOPELEMENT(_to) \
  43.   NS_IMETHOD GetOffset(nsIDOMSVGAnimatedNumber * *aOffset) { return _to GetOffset(aOffset); } 
  44.  
  45. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  46. #define NS_FORWARD_SAFE_NSIDOMSVGSTOPELEMENT(_to) \
  47.   NS_IMETHOD GetOffset(nsIDOMSVGAnimatedNumber * *aOffset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffset(aOffset); } 
  48.  
  49. #if 0
  50. /* Use the code below as a template for the implementation class for this interface. */
  51.  
  52. /* Header file */
  53. class nsDOMSVGStopElement : public nsIDOMSVGStopElement
  54. {
  55. public:
  56.   NS_DECL_ISUPPORTS
  57.   NS_DECL_NSIDOMSVGSTOPELEMENT
  58.  
  59.   nsDOMSVGStopElement();
  60.  
  61. private:
  62.   ~nsDOMSVGStopElement();
  63.  
  64. protected:
  65.   /* additional members */
  66. };
  67.  
  68. /* Implementation file */
  69. NS_IMPL_ISUPPORTS1(nsDOMSVGStopElement, nsIDOMSVGStopElement)
  70.  
  71. nsDOMSVGStopElement::nsDOMSVGStopElement()
  72. {
  73.   /* member initializers and constructor code */
  74. }
  75.  
  76. nsDOMSVGStopElement::~nsDOMSVGStopElement()
  77. {
  78.   /* destructor code */
  79. }
  80.  
  81. /* readonly attribute nsIDOMSVGAnimatedNumber offset; */
  82. NS_IMETHODIMP nsDOMSVGStopElement::GetOffset(nsIDOMSVGAnimatedNumber * *aOffset)
  83. {
  84.     return NS_ERROR_NOT_IMPLEMENTED;
  85. }
  86.  
  87. /* End of implementation class template. */
  88. #endif
  89.  
  90.  
  91. #endif /* __gen_nsIDOMSVGStopElement_h__ */
  92.